home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / programming / c / amiga-c / files / code.cpp < prev    next >
C/C++ Source or Header  |  1999-06-14  |  1KB  |  53 lines

  1. /**************************************************************************
  2.  
  3. Name       : Engine.cpp
  4. Programmer : Jesse Chan
  5. Version    : 0.01
  6. Date Begun : 03-24-1999
  7. Date Last  : 04-12-1999
  8. Description:
  9.  
  10. Completed  : 
  11. To do list : 
  12.  
  13. Development: Compiler: SAS/C++ v7.01
  14.              System  : A1200 w/ internal 810 MB Hard Drive
  15.                        Microbotics M1230XA MMU 68030 CPU 50-Mhz FPU 50-Mhz
  16.                        02 MB ChipRAM
  17.                        16 MB FastRAM 60ns
  18.                        Pioneer external 10x CD-ROM
  19.                        Surf Squirrel PCMCIA SCSI-2 Interface w/ serial port
  20.                        28.8-Kbps Supra FAX/MODEM
  21.  
  22. **************************************************************************/
  23.  
  24. // INCLUDES ///////////////////////////////////////////////////////////////
  25.  
  26. #include <proto/dos.h>  // TICKS_PER_SECOND
  27.  
  28. #include "Keys.h"
  29. #include "Display.h"
  30.  
  31. // DEFINITIONS ////////////////////////////////////////////////////////////
  32.  
  33. #define SECONDS TICKS_PER_SECOND
  34.  
  35. // MAIN ///////////////////////////////////////////////////////////////////
  36.  
  37. int main(int argc, char *argv[])
  38. {
  39.    Display D1;
  40.  
  41.    D1.Compile_Title("Chan Engine", __DATE__, __TIME__);
  42.  
  43.    while(D1.keypressed != KEY_ESC)
  44.    {
  45.      D1.Worms();
  46.      D1.KeyUpdate();
  47.    }
  48.  
  49. } // End main
  50.  
  51. ///////////////////////////////////////////////////////////////////////////
  52.  
  53.